What is the meaning of the word "smelling salts"?

Definitions:

  1. a pungent preparation of ammonium carbonate and perfume, often used to wake people copy to clipboard noun
    • After I fainted, the doctor wafted smelling salts under my nose. copy to clipboard